package net.dgg.dggcloud.service.jrcrm.dao.orf;

import net.dgg.dggcloud.core.minidao.annotation.MiniDao;
import net.dgg.dggcloud.core.minidao.hibernate.MiniDaoSupportHiber;
import net.dgg.dggcloud.service.jrcrm.entity.orf.OrderCustomer;

import java.util.List;
import java.util.Map;

/**
 * @author 鲜林材
 * 订单客户信息表
 * @create 2017-11-06 16:33
 **/
@MiniDao
@SuppressWarnings({"rawtypes"})
public interface OrderCustomerDao  extends MiniDaoSupportHiber<OrderCustomer>{

    List<Map> queryOrderCustomerListByMap(Map map);

    /**
     * 通过map修改订单客户信息,id必传
     * @param customerMap
     */
    public void updateOrderCustomerByMap(Map customerMap);

    /**
     * 通过订单id删除订单业务信息
     * @param parameterMap
     * 传入orderId
     */
    void deleteOrderCustomerByMap(Map parameterMap);
}
